<h1>Welcome to Veterinarian's Office</h1>

<?php if(isset($user)): ?>
<?php echo "<p>Hello, $user</p>"; ?>
<?php endif; ?>
<ul>
		<li><a href="<?php echo site_url('visits'); ?>" >Appointments</a></li>
		<li><a href="<?php echo site_url('owners'); ?>" >Owners</a></li>
		<li><a href="<?php echo site_url('pets'); ?>"> Pets</a> </li>
		<?php if($permission == "1"):?>
		<li><a href="<?php echo site_url('users'); ?>">	Users</a></li>
		<?php endif;?>
		<li><a href="<?php echo site_url('logout'); ?>">	Logout</a></li>
</ul>